package com.shell.soda.car.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * 作者: creazier.huang
 * 日期: 2017/8/25
 * 说明:
 */
@Controller
public class CarController {
    private static Logger logger = LoggerFactory.getLogger(CarController.class);

    @RequestMapping("/hello")
    @ResponseBody
    public String hello(){
        logger.info("car test hello");
        return "hello";
    }

}
